package chapter10;

/**
 * @author lzy
 * @version v1.0
 * Create DateTime: 2019/4/13 13:12
 */
public class Parcel3 {
    public static void main(String[] args) {
        Parcel3 parcel3 = new Parcel3();
        Parcel3.Content content = parcel3.new Content();
        Parcel3.Destination destination = parcel3.new Destination("Tasmania");
    }

    class Content {
        private int anInt = 11;

        private int value() {
            return anInt;
        }
    }

    class Destination {
        private String label;

        public Destination(String label) {
            this.label = label;
        }

        public String readLabel() {
            return label;
        }
    }
}
